package com.hu.gulimallproduct.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hu.gulimallcommon.validator.ListValit;
import com.hu.gulimallcommon.validator.group.AddGroup;
import javafx.scene.Group;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 品牌
 * 
 * @author hbt
 * @email 2188748205@qq.com
 * @date 2024-05-20 12:32:11
 */
@Data
@TableName("pms_brand")
public class PmsBrandEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 品牌id
	 */
	@TableId()
	private Long brandId;
	/**
	 * 品牌名
	 */
	@NotBlank(groups = AddGroup.class)
	private String name;
	/**
	 * 品牌logo地址
	 */
	@NotBlank()
	private String logo;
	/**
	 * 介绍
	 */
	private String descript;
	/**
	 * 显示状态[0-不显示；1-显示]
	 */
	@ListValit(vals = {0,1})
	private Integer showStatus;
	/**
	 * 检索首字母
	 */
	private String firstLetter;
	/**
	 * 排序
	 */
	private Integer sort;

}
